package com.bawei.car.domain.model;

import com.bawei.car.domain.contants.CarContants;
import lombok.Data;

/**
 * 购物车对象
 */
@Data
public class CarProductModel {


    /**
     * 商品id
     */
    private Long productId;
    /**
     * 购买数量
     */
    private Long number;
    /**
     * 是否选中
     */
    private String isChecked;

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public boolean getIsChecked() {
        return isChecked.equals("true");
    }

    public void setIsChecked(String isChecked) {
        this.isChecked = isChecked;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }
}
